version: 2.1

jobs:
  test:
    docker:
      - image: cimg/base:stable
    steps:
      - checkout
      - run:
          name: "Install Prerequests"
          command: "sudo apt-get update && sudo apt-get install -y clang g++-10"
      - run:
          name: "Build and Test Z80 Emulator"
          command: "make ci"

workflows:
  test-workflow:
    jobs:
      - test
